home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Invenzioni & Inventori
/
Invenzioni and Inventori (Eclectica Publishing) (1996).ISO
/
invenzio
/
vivid
/
getat2.dir
/
00076_Script_76
< prev
next >
Wrap
Text File
|
1996-11-09
|
2KB
|
78 lines
on mouseDown
global resize,select
if select then exit
if not resize then
set list_old=[0,0,0,0,0]
set count=1
--mette i filmati presenti ad off
repeat with Loop in [32,33,39,40,41]
if the casttype of cast (the castnum of sprite Loop) = #digitalvideo then
if the visible of sprite Loop then
set rv=the castnum of sprite Loop
set the video of cast rv to false
--updatestage
setat list_old,count,the castnum of sprite Loop
set the castnum of sprite Loop to 86
--updatestage
set the video of cast rv to true
end if
end if
updatestage
set count = count+1
end repeat
-- simula il moveable
set SPRITE_=38
repeat while the mouseDown
-- set the loch of sprite SPRITE_ to the mouseH
-- set the locv of sprite SPRITE_ to the mouseV
updatestage
end repeat
set count=1
--mette i filmati presenti ad on
repeat with Loop in [32,33,39,40,41]
if getat (list_old,Count) then
set the castnum of sprite Loop to getat (list_old,Count)
end if
set count =count +1
end repeat
updatestage
else
global LARGHEZZA,PaginaCorrente,COUNTER
set MYSPRITE=38
set Corrente=getat(LARGHEZZA,PaginaCorrente)
set the CAST1 of Corrente=COUNTER
set text_ to the text of cast (the castnum of sprite MYSPRITE)
if COUNTER=1 then
set the castNum of sprite MYSPRITE = 44
else if COUNTER=2 then
set the castnum of sprite MYSPRITE =72
else if COUNTER=3 then
set the castnum of sprite MYSPRITE =73
else if COUNTER=4 then
set the castnum of sprite MYSPRITE =123
else if COUNTER=5 then
set the castnum of sprite MYSPRITE =124
else
set the castnum of sprite MYSPRITE =125
end if
set the text of cast (the castnum of sprite MYSPRITE) to text_
end if
set COUNTER=COUNTER+1
if COUNTER>6 then set COUNTER = 1
updatestage
end